package Lib3d.Scenes;


/**
 * A factrory that handles the creation of the avaible scenes.
 * 
 * @author Wassim Chegham
 * @version 0.1
 * @category Lib3d.Scenes
 * 
 */
public class SceneFactory {

    public static Scene createScene(final int which) {

        switch (which) {
            case Scene.HAIRY_SPHERE_1:
                return new SceneSimpleHairySphere();
            case Scene.HAIRY_SPHERE_2:
                return new SceneComplexHairySphere();
            case Scene.SIMPLE_SPHERE_1:
                return new SceneSimpleSphereImpl();
            case Scene.SIMPLE_FOREST:
                return new SceneForest();
        }
        return null;
    }

}
